<template>
  <div>
    <a-list item-layout="horizontal" :data-source="record.followList">
      <a-list-item slot="renderItem" slot-scope="item, index">
        <a-list-item-meta
          :description="item.operateInfo"
        >
          <a slot="title" href="#">{{ item.createTime }}</a><span>操作人：{{item.createBy}}</span>
          <a-avatar
            slot="avatar"
            :src="item.headSculpture"
          />
        </a-list-item-meta>
      </a-list-item>
    </a-list>
  </div>
</template>

<script>

  import {getAction} from "../../../../../../api/manage";

  export default {
    name: "followRecord",
    props: {
      record: {}
    },
    created() {

    },
    data() {
      return {
        dataSource:[],
        url:{
          list: "/ghSupplychainMaterialFollow/list"
        }
      }
    },
    methods: {
      /*loadData(){
        getAction(this.url.list, {materialId:this.record.id}).then((res) => {
          if (res.success) {
            this.dataSource = res.result.records||res.result;
          }
        })
      },*/
    },
  }
</script>

<style scoped>

</style>